﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EMS20.UI.Admin.Cate
{
    using EMS20.BusinessLogicLayer;
    using EMS20.Entity;
    using EMS20.Help;
    using EMS20.Common;

    public partial class Index : WebBasePage
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            //得到所有的数据
            List<CategoryEntity> categorylist = Category_BLLSub.Get_CategoryAll() as List<CategoryEntity>;

            //绑定控件
            this.Repeater1.DataSource = categorylist;
            this.Repeater1.DataBind();
            // TODO: 添加分页
        }
    }
}